package org.example.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/*
 * @className: InvoiceUtils
 * @author: chentao
 * @date: 2025/7/2 8:34
 * @Version: 1.0
 * @description:
 */
public class InvoiceUtils {

    public static Logger logger = LoggerFactory.getLogger(InvoiceUtils.class);

    public static void send(IInvoice invoice) {
        logger.warn("invoice send : " + invoice.getTitle() + " code: " + invoice.getCode());
    }

    public interface IInvoice {

        public String getTitle();

        public String getCode();
    }
}
